package Map;

public class Cityinfo {
    private String city1;
    private String city2;
    private String city3;
    private String city4;
    private String city5;

    public Cityinfo() {
    }

    public Cityinfo(String city1, String city2, String city3, String city4, String city5) {
        this.city1 = city1;
        this.city2 = city2;
        this.city3 = city3;
        this.city4 = city4;
        this.city5 = city5;
    }

    public String getCity1() {
        return city1;
    }

    public void setCity1(String city1) {
        this.city1 = city1;
    }

    public String getCity2() {
        return city2;
    }

    public void setCity2(String city2) {
        this.city2 = city2;
    }

    public String getCity3() {
        return city3;
    }

    public void setCity3(String city3) {
        this.city3 = city3;
    }

    public String getCity4() {
        return city4;
    }

    public void setCity4(String city4) {
        this.city4 = city4;
    }

    public String getCity5() {
        return city5;
    }

    public void setCity5(String city5) {
        this.city5 = city5;
    }

    @Override
    public String toString() {
        return "城市有：" +
                "city1='" + city1 + '\'' +
                ", city2='" + city2 + '\'' +
                ", city3='" + city3 + '\'' +
                ", city4='" + city4 + '\'' +
                ", city5='" + city5 + '\'' +
                ' ';
    }
}
